<template>
  <el-time-select
    v-bind="item"
    :value-format="item['value-format'] || item.valueFormat || 'HH:mm:ss'"
    :placeholder="item.placeholder || '请选择' + item.label"
    v-model="model[item.prop]"
    v-on="item.events || {}"
    :clearable="item.clearable === false ? false : true"
  >
  </el-time-select>
</template>

<script setup>
const props = defineProps({
  item: Object,
  model: Object
})
</script>
